package com.yyx.server.service;

import com.yyx.server.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyx.server.vo.ResultVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YongXin
 * @since 2021-07-24
 */
public interface DepartmentService extends IService<Department> {

    List<Department> getAllDepartments();

    ResultVo addDepartment(Department department);

    ResultVo delDepartment(Integer id);
}
